<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.6.2.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery-ui-1.8.11.js"></script>
    <script src="@Url.Content("~/Scripts/modernizr-2.0.6-development-only.js")" type="text/javascript"></script>
    <script type="text/javascript" src="../../Scripts/jquery.dataTables.js"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/EditorHookup.js")"></script>
    <link rel="stylesheet" type="text/css" href="../../Content/themes/base/jquery.dataTables.css" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" />
    <link rel="stylesheet" type="text/css" href="../../Content/themes/base/jquery.dataTables_themeroller.css" />
</head>

<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>Simple Task Manager</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            @if (Request.IsAuthenticated)
            {
                <div id="searchDiv">
                     @{ Html.RenderAction("SearchEngine", "Search");}
                </div>
            }
        </header>

        <nav id="main_menu"> @{ Html.RenderAction("Menu", "Nav");}</nav>

        <section id="main">
            @RenderBody()
        </section>
       <!-- For now we don't have footer 
       <footer></footer>
       -->
    </div>
</body>
</html>
